package great.project.config;

import java.util.concurrent.LinkedBlockingQueue;

public class DynamicBlockingQueue extends LinkedBlockingQueue<String> {

    DynamicBlockingQueue(int capacity) {
        super(capacity);
    }

    private volatile boolean done = false;

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }
}
